package noahzu.github.io.baselib.easyadapter;

import android.view.View;

/**
 * Created by andy on 2017/5/26.
 */

public interface EventDelegate {
    void addData(int length);

    void clear();

    void stopLoadMore();

    void pauseLoadMore();

    void resumeLoadMore();

    void setMore(View view, EasyRecyclerAdapter.OnMoreListener listener);

    void setNoMore(View view, EasyRecyclerAdapter.OnNoMoreListener listener);

    void setErrorMore(View view, EasyRecyclerAdapter.OnErrorListener listener);

    void setMore(int res, EasyRecyclerAdapter.OnMoreListener listener);

    void setNoMore(int res, EasyRecyclerAdapter.OnNoMoreListener listener);

    void setErrorMore(int res, EasyRecyclerAdapter.OnErrorListener listener);
}
